<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>WebRTC10</title>
<style>
video {
    width: 1280px;
    height: 720px;
    border: 1px solid red;
}
</style>
</head>
<body>
<div style="display:none;">
    <p>1</p>
    <video id="yours" autoplay controls="controls"></video>
</div>
<div>
    <p>2</p>
    <video id="theirs" autoplay controls="controls"></video>
</div>
<div style="display:none;"><canvas id="canvas"></canvas></div>
<div>
    <input type="text" id="username" value="4c2c8300ab32_for_user"/>
    <button id="login">登录</button>
    <input type="text" id="theirUsername" value="4c2c8300ab32"/>
    <button id="call">呼叫</button>
    <button id="close">关闭</button>
    <span><input type="checkbox" id="viewer" checked>观众</span>
</div>
<script src="client.js"></script>
<script type="text/javascript">
/*
setTimeout(function(){
    loginButton.click();
    setTimeout(function(){
        callButton.click();
    }, 3000);
}, 3000);
*/
</script>
</body>
</html>
